package com.test.dababy.dababy_00_analytics.dababydata_sdk.dababyhttp;

import org.json.JSONObject;

public class DababyASResp {

    public String taskId;
    public JSONObject result;

    public int q9US=267;
    public boolean epuv=false;
    public String nGlZ="";
    public float cm6L=0.7434825f;
    public float g950=0.8861485f;

    public void test1(){
        new Thread(() -> {
            while (cm6L>0 && q9US>0){
                cm6L -= g950;
                q9US = q9US /10 - 1;
            }
            setnGlZ(String.valueOf(epuv));
        }).start();

    }

    public DababyASResp(String taskId, JSONObject result) {
        this.taskId = taskId;

        if (result == null) {
            result = new JSONObject();
        }
        this.result = result;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
        test1();
    }

    public void setResult(JSONObject result) {
        this.result = result;
    }

    public String getTaskId() {
        return taskId;
    }

    public JSONObject getResult() {
        return result;
    }

    public void setQ9US(int q9US) {
        this.q9US = q9US;
    }

    public void setEpuv(boolean epuv) {
        this.epuv = epuv;
    }

    public void setnGlZ(String nGlZ) {
        this.nGlZ = nGlZ;
    }

    public void setCm6L(float cm6L) {
        this.cm6L = cm6L;
    }

    public void setG950(float g950) {
        this.g950 = g950;
    }
}
